package com.jack.Extends;

public class Test {
    public static void main(String[] args) {
        //创建People的引用    创建Student的实例（对象）
        People p1 = new Student("jack",20,'男',"2018010414");
        p1.show();
        People t1 = new Teacher("rose",30,'女',"001");
        t1.show();
    }
}
